home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Car / Inspector.h < prev    next >
Encoding:
Text File  |  1992-06-22  |  2.8 KB  |  160 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5.  
  6. @interface Inspector:Object
  7. {
  8.     id    roadBox;
  9.     id  roadGraph;
  10.     id  roadLength;
  11.     id    roadTemperature;
  12.     id    roadWindSpeed;
  13.  
  14.     id    carBox;
  15.     id    carDragCoefficient;
  16.     id    carFrontalArea;
  17.     id    carMass;
  18.     id    carPlotAcceleration;
  19.     id    carTestMode;
  20.  
  21.     id    controllerBox;
  22.     id    controllerMass;
  23.     id    controllerShiftCeiling;
  24.     id    controllerShiftFloor;
  25.  
  26.     id    transmissionBox;
  27.     id    transmissionCurrentGear;
  28.     id    transmissionEfficiency;
  29.     id  transmissionFinalDriveRatio;
  30.     id    transmissionGearRatios;
  31.     id    transmissionMass;
  32.     id    transmissionShiftLag;
  33.     id    transmissionShiftPoints;
  34.  
  35.     id    engineBox; 
  36.     id    engineCoefficients;
  37.     id  engineEfficiency;
  38.     id  engineGraph;
  39.     id    engineMass;
  40.     id    engineRedline;
  41.     id    engineStallSpeed;
  42.     id    engineStartLag;
  43.  
  44.     id    gasTankBox;
  45.     id    gasTankCurrent;
  46.     id  gasTankEnergyDensity;
  47.     id    gasTankFuelDensity;
  48.     id    gasTankMass;
  49.     id    gasTankMax;
  50.  
  51.     id    motorBox;
  52.     id  motorCrossover;
  53.     id  motorEfficiency;
  54.     id  motorHighCoefficients;
  55.     id  motorHighEndGraph;
  56.     id    motorLowCoefficients;
  57.     id  motorLowEndGraph;
  58.     id    motorMass;
  59.     id    motorMax;
  60.     id  motorRegenerationEfficiency;
  61.  
  62.     id    batteryBox;
  63.     id    batteryAmpCoefficients;
  64.     id  batteryAmpGraph;
  65.     id  batteryEfficiency;
  66.     id    batteryMass;
  67.     id    batteryMax;
  68.     id  batteryPeakDraw;
  69.     id    batteryPlotAmps;
  70.     id    batteryPlotCharge;
  71.     id    batteryPlotVolts;
  72.     id    batteryPresent;
  73.     id    batteryVoltCoefficients;
  74.     id  batteryVoltGraph;
  75.  
  76.     id    wheelBox;
  77.     id    wheelDiameter;
  78.     id    wheelMass;
  79.     id    wheelRollingResistance;
  80.  
  81.     id    cycleBox;
  82.     id    cycleEnd;
  83.     id  cycleGraph;
  84.     id  cycleLength;
  85.     id    cycleStart;
  86.  
  87.     id    inspectorBox;
  88.     id    inspectorPanel;
  89.     id  boxList[10]; 
  90. }
  91.  
  92. // Override methods
  93. - init;
  94.  
  95. // The methods are grouped into sets according to which set of controls they refer to.
  96. - setRoadBox:anObject;
  97. - OKRoadBox:sender;
  98. - revertRoadBox:sender;
  99. - loadRoad:sender;
  100. - updateRoadGraph:(const char *)filename;
  101.  
  102. - setCarBox:anObject;
  103. - OKCarBox:sender;
  104. - revertCarBox:sender;
  105. - updateCarBox:(const char *)filename;
  106.  
  107. - setControllerBox:anObject;
  108. - OKControllerBox:sender;
  109. - revertControllerBox:sender;
  110.  
  111. - setTransmissionBox:anObject;
  112. - OKTransmissionBox:sender;
  113. - revertTransmissionBox:sender;
  114.  
  115. - setEngineBox:anObject;
  116. - OKEngineBox:sender;
  117. - revertEngineBox:sender;
  118.  
  119. - setGasTankBox:anObject;
  120. - OKGasTankBox:sender;
  121. - revertGasTankBox:sender;
  122.  
  123. - setMotorBox:anObject;
  124. - OKMotorBox:sender;
  125. - revertMotorBox:sender;
  126.  
  127. - setBatteryBox:anObject;
  128. - OKBatteryBox:sender;
  129. - revertBatteryBox:sender;
  130.  
  131. - setWheelBox:anObject;
  132. - revertWheelBox:sender;
  133. - OKWheelBox:sender;
  134.  
  135. - setCycleBox:anObject;
  136. - OKCycleBox:sender;
  137. - revertCycleBox:sender;
  138. - loadCycle:sender;
  139. - updateCycleGraph:(const char *)filename;
  140.  
  141. - flipInspector:sender;
  142. - updateBoxes;
  143.  
  144. @end
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.